package com.haolijun.eecms.service.impl;

import com.haolijun.eecms.dao.TbRoleDao;
import com.haolijun.eecms.service.RoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.HashMap;
import java.util.List;

/**
 * @ClassName RoleService
 * @Description TODO
 * @Author hljstart
 * @Date 2023/3/11 11:38
 * @Version 1.0
 */
@Service
public class RoleServiceImpl implements RoleService {

    @Autowired
    private TbRoleDao roleDao;

    @Override
    public List<HashMap> searchAllRole() {
        return roleDao.searchAllRole();
    }
}
